package org.ghost.wechat.platform.common.exception;

import org.ghost.wechat.platform.common.enumeration.IErrorCodeEnum;

/**
 * @author 01
 */
public class AppRuntimeException extends RuntimeException {
    private IErrorCodeEnum errorCode;

    public AppRuntimeException(IErrorCodeEnum errorCode) {
        this.errorCode = errorCode;
    }

    public IErrorCodeEnum getErrorCode() {
        return errorCode;
    }
}
